module.exports = function (sequelize, DataTypes) {
  return sequelize.define('JJCourseCommission', {
    // 提成百分比
    percent: {
      type: DataTypes.INTEGER
    },
    //  修改时间
    updateTime: {
      type: DataTypes.DATE,
      field: 'update_time'
    },
    //  创建时间
    createTime: {
      type: DataTypes.DATE,
      field: 'create_time'
    }
  }, {
    freezeTableName: true,
    tableName: 'jj_course_commission',
    timestamps: false
  });
};
